@echo off
echo 运行ANRS文件读取测试
echo.

cd /d "D:\automated-script\backend"

echo 编译项目...
call mvn compile test-compile -q

if %errorlevel% neq 0 (
    echo 编译失败，请检查代码
    pause
    exit /b 1
)

echo 运行测试...
call mvn test -Dtest=AnrsProcessorTest#testReadAnrsFile

echo.
echo 测试完成
pause
